<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="http://localhost:8080/Maven_SSM/">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加</title>
</head>
<body>

	<form action="stu/insert.do">
		学生:<input type="text" name="name"> 老师:<select name="teaId">
			<c:forEach var="tea" items="${teas }">
				<option value="${tea.id }">${tea.name }</option>
			</c:forEach>
		</select>
		<button>提交</button>
	</form>
</body>
</html>